package com.zhuoyue.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhuoyue.common.annotation.Excel;
import com.zhuoyue.common.core.domain.BaseEntity;

/**
 * gatewayZY对象 tbl_gateway_zy
 *
 * @author hewenze
 * @date 2020-09-08
 */
public class TblGatewayZy extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 网关MAC
     */
    @Excel(name = "网关MAC")
    private String gatewayMac;

    /**
     * 网关名称
     */
    @Excel(name = "网关名称")
    private String gatewayName;

    /**
     * 网关类型
     */
    @Excel(name = "网关类型", readConverterExp = "0=语音网关,1=铂金版网关")
    private String gatewayType;

    /**
     * 网关状态
     */
    @Excel(name = "使用状态", readConverterExp = "0=未使用,1=已使用")
    private Long used;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setGatewayMac(String gatewayMac) {
        this.gatewayMac = gatewayMac;
    }

    public String getGatewayMac() {
        return gatewayMac;
    }

    public void setGatewayName(String gatewayName) {
        this.gatewayName = gatewayName;
    }

    public String getGatewayName() {
        return gatewayName;
    }

    public void setUsed(Long used) {
        this.used = used;
    }

    public Long getUsed() {
        return used;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("gatewayMac", getGatewayMac())
                .append("gatewayName", getGatewayName())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("used", getUsed())
                .toString();
    }

    public String getGatewayType() {
        return gatewayType;
    }

    public void setGatewayType(String gatewayType) {
        this.gatewayType = gatewayType;
    }
}
